//
//  Test50.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/30.
//

#include "Test50.hpp"
#include <iostream>
using namespace std;
template<class T>
T func(T x, T y) {
    if (sizeof(T) == 8) {
        return x+y;
    } else {
        return x*y;
    }
}

void test50() {
    cout<<func(8,5)<<":"<<func(5.0,10.0)<<endl;
}
